package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import lombok.Data;

@Data
@ApiModel(value = "活动主表")
@TableName(value = "atv_main_active")
public class AtvMainActive {

	/** 主键 */
	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "主键")
	private String id;
	/** 用户ID */
	@TableField(value = "member_id")
	@ApiModelProperty(value = "用户ID")
	private String memberId;
	/** 1-简单日期类，2-其他类 */
	@TableField(value = "play_type")
	@ApiModelProperty(value = "1-简单日期类，2-其他类")
	private String playType;
	/** 活动玩法ID */
	@TableField(value = "play_id")
	@ApiModelProperty(value = "活动玩法ID")
	private String playId;
	/** 名称 */
	@TableField(value = "title")
	@ApiModelProperty(value = "名称")
	private String title;
	/** 活动报名开始时间 */
	@TableField(value = "signup_begin_datetime")
	@ApiModelProperty(value = "活动报名开始时间")
	private Date signupBeginDatetime;
	/** 活动报名结束时间 */
	@TableField(value = "signup_end_datetime")
	@ApiModelProperty(value = "活动报名结束时间")
	private Date signupEndDatetime;
	/** 0机构1官方 */
	@TableField(value = "sponsor_type")
	@ApiModelProperty(value = "0机构1官方")
	private String sponsorType;
	/** 主办单位 */
	@TableField(value = "org_name")
	@ApiModelProperty(value = "主办单位")
	private String orgName;
	/** 开始时间 */
	@TableField(value = "begin_datetime")
	@ApiModelProperty(value = "开始时间")
	private Date beginDatetime;
	/** 结束时间 */
	@TableField(value = "end_datetime")
	@ApiModelProperty(value = "结束时间")
	private Date endDatetime;
	/** 0-正常，1-结束 */
	@TableField(value = "`status`")
	@ApiModelProperty(value = "0-正常，1-结束")
	private String status;
	/** 海报ID OSS */
	@TableField(value = "poster_id")
	@ApiModelProperty(value = "海报ID OSS")
	private String posterId;
	/** 海报地址 */
	@TableField(value = "poster_url")
	@ApiModelProperty(value = "海报地址")
	private String posterUrl;
	/** 特殊复杂活动详情URL */
	@TableField(value = "detail_url")
	@ApiModelProperty(value = "特殊复杂活动详情URL")
	private String detailUrl;
	/** 活动标签 */
	@TableField(value = "`label`")
	@ApiModelProperty(value = "活动标签")
	private String label;
	/** 活动二维码ID */
	@TableField(value = "qr_code_id")
	@ApiModelProperty(value = "活动二维码ID")
	private String qrCodeId;
	/** 活动二维码URL */
	@TableField(value = "qr_code_url")
	@ApiModelProperty(value = "活动二维码URL")
	private String qrCodeUrl;
	/** 活动二维码URL */
	@TableField(value = "qr_code_attend_url")
	@ApiModelProperty(value = "活动报名二维码URL")
	private String qrCodeAttendUrl;
	/** 0-小程序 1-APP */
	@TableField(value = "`source`")
	@ApiModelProperty(value = "0-小程序  1-APP")
	private String source;
	/** open_id */
	@TableField(value = "open_id")
	@ApiModelProperty(value = "open_id")
	private String openId;
	/** 备注 */
	@TableField(value = "remark")
	@ApiModelProperty(value = "备注")
	private String remark;
	/** 省份 */
	@TableField(value = "province")
	@ApiModelProperty(value = "省份")
	private String province;
	/** 城市 */
	@TableField(value = "city")
	@ApiModelProperty(value = "城市")
	private String city;
	/** 区 */
	@TableField(value = "area")
	@ApiModelProperty(value = "区")
	private String area;
	/** 详细地址 */
	@TableField(value = "address")
	@ApiModelProperty(value = "详细地址")
	private String address;
	/** 0-正常，1-删除 */
	@TableField(value = "del_flag")
	@ApiModelProperty(value = "0-正常，1-删除")
	private String delFlag;
	/** 创建人 */
	@TableField(value = "create_user")
	@ApiModelProperty(value = "创建人")
	private String createUser;
	/** 创建时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/** 更新人 */
	@TableField(value = "update_user")
	@ApiModelProperty(value = "更新人")
	private String updateUser;
	/** 更新时间 */
	@TableField(value = "update_time")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	public static final String COL_ID = "id";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_PLAY_TYPE = "play_type";

	public static final String COL_PLAY_ID = "play_id";

	public static final String COL_TITLE = "title";

	public static final String COL_SIGNUP_BEGIN_DATETIME = "signup_begin_datetime";

	public static final String COL_SIGNUP_END_DATETIME = "signup_end_datetime";

	public static final String COL_SPONSOR_TYPE = "sponsor_type";

	public static final String COL_ORG_NAME = "org_name";

	public static final String COL_BEGIN_DATETIME = "begin_datetime";

	public static final String COL_END_DATETIME = "end_datetime";

	public static final String COL_STATUS = "status";

	public static final String COL_POSTER_ID = "poster_id";

	public static final String COL_POSTER_URL = "poster_url";

	public static final String COL_DETAIL_URL = "detail_url";

	public static final String COL_LABEL = "label";

	public static final String COL_QR_CODE_ID = "qr_code_id";

	public static final String COL_QR_CODE_URL = "qr_code_url";

	public static final String COL_SOURCE = "source";

	public static final String COL_OPEN_ID = "open_id";

	public static final String COL_REMARK = "remark";

	public static final String COL_PROVINCE = "province";

	public static final String COL_CITY = "city";

	public static final String COL_AREA = "area";

	public static final String COL_ADDRESS = "address";

	public static final String COL_DEL_FLAG = "del_flag";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";
}